package com.niit.mapper;


import com.niit.entity.Cinema;
import com.niit.entity.Hall;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


@Mapper
public interface HallMapper {




    List <Hall> findAllHalls();

    Hall findHallById(Integer id);

    Hall findHallByName(String name);

    void addHall(Hall hall);

    int updateHall(Hall hall);

    int deleteHall(Integer hall);

}
